import Vue from 'vue'
import App from './App.vue'
// 引入store即vuex
import store from './store'
// 引入router即vue-router
import router from './router'
// 引入elementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

// 使用elementUI
Vue.use(ElementUI);
Vue.config.productionTip = false

new Vue({
    render: h => h(App),
    store,
    router,
    beforeCreate () {
        Vue.prototype.$bus = this
    }
}).$mount('#app')
